#include "TcpServer.hpp"



int main(int argc,char* argv[])
{

    if (argc != 2)
    {
        std::cout << "Usage: user ./server_tcp port" << std::endl;
        return 1;
    }
    uint16_t port = std::stoi(argv[1]);
    std::shared_ptr<TcpServer> server = std::make_shared<TcpServer>(port);
    server->InitServer();
    server->Start();
    
    return 0;
}
